package d01007;
import java.util.Scanner;
public class Test1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int id = in.nextInt();
        String name = in.next();
        double balance = in.nextDouble();
        double annualInterestRate = in.nextDouble();
        Account account = new Account(id, name, balance, annualInterestRate);
        account.withdraw(2500);
        account.deposit(3000);
        account.print();
        in.close();
    }
}
class Account{
    private int id;
    private String name;
    private double balance;
    private double annualInterestRate;
    public Account(int id,String name,double balance,double annualInterestRate){
        this.id=id;
        this.name=name;
        this.balance=balance;
        this.annualInterestRate=annualInterestRate;
    }
    public void setId(int id){
        this.id=id;
    }
    public int getId(){
        return id;
    }
    public void setName(String name){
        this.name=name;
    }
    public String getName(){
        return name;
    }
    public void setBalance(double balance){
        this.balance=balance;
    }
    public double getBalance(){
        return balance;
    }
    public void setAnnualInterestRate(double annualInterestRate){
        this.annualInterestRate=annualInterestRate;
    }
    public double withdraw(double y){
        if(y<this.balance){
            return this.balance-=y;
        }else{
            return 0;
        }
    }
    public double deposit(double x){
        return this.balance+=x;
    }
    public double getMonthlylnterestRate(){
        return annualInterestRate/1200;

    }
    public void print(){
        System.out.println(getId()+"\n"+getName()+"\n"+this.balance+"\n"+getMonthlylnterestRate()+"%");
        //getId()+"\n"+getName()+"\n"+this.balance+"\n"+getMonthlylnterestRate()+"%";
    }
}